$result = mysql_query("SELECT option_value FROM wp_10_options WHERE option_name='homepage' LIMIT 1"); $row = mysql_fetch_assoc($result); echo $row['option_value'];
SELECT * FROM tbl WHERE id = 123 OR colname4 = 'x' OR colname8 = 'y' LIMIT 1